package com.ruoyi.bill.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户台账业务对象 bill_custom_invest
 *
 * @author linziheng
 * @date 2024-02-29
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BillCustomInvestBo extends BaseEntity {
    private String indexXn;
    private String flagXn;
    private String financeType;
    private String mainParty;
    private String cooperateType;
    private String payType;
    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 充值日期
     */
    private Date investTime;

    /**
     * 到账日期
     */
    @NotNull(message = "到账日期不能为空", groups = { EditGroup.class })
    private Date accountTime;
    private String accountTime2;
    //到账日期格式化
    private String accountTimeTemp;
    private String createTime2;
    /**
     * 客户简称
     */
    @NotNull(message = "客户简称不能为空", groups = { EditGroup.class })
    private String htName;

    /**
     * 预付垫款
     */
    private String advanceType;

    /**
     * 方式
     */
    private String type;

    /**
     * 运营类型
     */
    private String operationType;

    /**
     * 合作媒体
     */
    private String medium;

    /**
     * 账户ID
     */
    private String accountId;

    /**
     * 帐户名称
     */
    private String accountName;

    /**
     * 竞价类别
     */
    private String bidding;

    /**
     * 充值广告币
     */
    private BigDecimal currency;

    /**
     * 帐显返点
     */
    private BigDecimal rate;

    /**
     * 应收现金
     */
    private BigDecimal inCash;

    /**
     * 实收现金
     */
    private BigDecimal actualCash;

    /**
     * 剩余备款
     */
    private BigDecimal balance;

    /**
     * 到账截图
     */
    private String image;

    /**
     * 备注
     */
    private String remark;

    /**
     * 状态
     */
    private String checkType;

    /**
     * 未校验打款
     */
    private BigDecimal pnsoi;

    /**
     * 未校验备款
     */
    private BigDecimal urif;


}
